﻿Public Class NhanVienDTO

    Private _idNV As String
    Private _passNV As String
    Private _hoten As String
    Private _ngaysinh As Date
    Private _gioitinh As String
    Private _diachi As String
    Private _sodienthoai As String
    Private _idloaiNV As String


    Public Property Tên_đăng_nhập() As String
        Get
            Return _idNV
        End Get
        Set(ByVal value As String)
            _idNV = value
        End Set
    End Property

    Public Property Mật_khẩu() As String
        Get
            Return _passNV
        End Get
        Set(ByVal value As String)
            _passNV = value
        End Set
    End Property

    Public Property Họ_tên() As String
        Get
            Return _hoten
        End Get
        Set(ByVal value As String)
            _hoten = value
        End Set
    End Property

    Public Property Ngày_sinh() As Date
        Get
            Return _ngaysinh
        End Get
        Set(ByVal value As Date)
            _ngaysinh = value
        End Set
    End Property

    Public Property Giới_tính() As String
        Get
            Return _gioitinh
        End Get
        Set(ByVal value As String)
            _gioitinh = value
        End Set
    End Property

    Public Property Địa_chỉ() As String
        Get
            Return _diachi
        End Get
        Set(ByVal value As String)
            _diachi = value
        End Set
    End Property

    Public Property Điện_thoại() As String
        Get
            Return _sodienthoai
        End Get
        Set(ByVal value As String)
            _sodienthoai = value
        End Set
    End Property


    Public Property Mã_loại_NV() As String
        Get
            Return _idloaiNV
        End Get
        Set(ByVal value As String)
            _idloaiNV = value
        End Set
    End Property

    Public Sub New(ByVal ID As String, ByVal PW As String, ByVal HT As String, ByVal NS As String, ByVal GT As String, _
            ByVal DC As String, ByVal SDT As String, ByVal LNV As String)
        Me._idNV = ID
        Me._passNV = PW
        Me._hoten = HT
        Me._ngaysinh = NS
        Me._gioitinh = GT
        Me._diachi = DC
        Me._sodienthoai = SDT
        Me._idloaiNV = LNV
    End Sub


    Public Sub New(ByVal EmpID As String)
        Me._idNV = EmpID
    End Sub

End Class
